package com.neusoft.tyut.factory;

import com.neusoft.tyut.colo.ColoBox;
import com.neusoft.tyut.colo.ColoTag;
import com.neusoft.tyut.colo.ColoWater;
import com.neusoft.tyut.obj.Box;
import com.neusoft.tyut.obj.Tag;
import com.neusoft.tyut.obj.Water;

public class ColoFacotry  implements   Factory{

    @Override
    public Water produceWater() {
        return new ColoWater();
    }

    @Override
    public Tag produceTag() {
        return new ColoTag();
    }

    @Override
    public Box produceBox() {
        return new ColoBox();
    }

    @Override
    public void full(Water water, Tag tag, Box box) {
        System.out.println(water.toString() +  tag.toString() +  box.toString() );
    }
}
